package engine.render;

import engine.scene.TriGroup;
import engine.util.ModelUtil;

public class ModelOBJ
{
    
    private TriGroup tris;
    //<editor-fold defaultstate="collapsed" desc="getTriGroup">
    public TriGroup getTriGroup()
    {
        return this.tris;
    }
    //</editor-fold>
    
    public ModelOBJ(String fileName)
    {
        this.tris = ModelUtil.get().loadModelOBJ(fileName);
    }
    
    public void destroy()
    {
        this.tris.destroy();
    }
    
}
